package com.xyht.sca_s.student_manage_system.modules.rxRegistrationExamine.controller;


import com.xyht.sca_s.student_manage_system.common.annotation.RequestPass;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.common.desEncodeAndDecode.annotation.SecretBody;
import com.xyht.sca_s.student_manage_system.modules.rxRegistrationExamine.service.RxRegistrationExamineService;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 审核应用 前端控制器
 * </p>
 *
 * @author XYHT
 * @since 2024-05-15
 */
@RestController
@RequestMapping("/rxRegistrationExamine/examine")
@SecretBody
public class RxRegistrationExamineController {
    @Resource
    private RxRegistrationExamineService rxRegistrationExamineService;

    @GetMapping("/get")
    @ApiModelProperty("校验学生招生阶段")
    @RequestPass
    public ResponseResult registrationExamine(@RequestParam(value = "stuIdCard") String stuIdCard) {
        return rxRegistrationExamineService.registrationExamine(stuIdCard);
    }

}

